package com.admin.client.mvc.controllers;

import com.admin.client.mvc.events.AppEvents;
import com.admin.client.mvc.views.UsuarioView;
import com.extjs.gxt.ui.client.mvc.AppEvent;
import com.extjs.gxt.ui.client.mvc.Controller;
import com.extjs.gxt.ui.client.mvc.View;


public class UsuarioController extends Controller {
	private View appView;
	
	public UsuarioController(){
		registerEventTypes(AppEvents.UsuarioReady);
	}

	@Override
	public void handleEvent(AppEvent event) {
		forwardToView(appView, event);		
	}
	
	@Override
	public void initialize(){
		super.initialize();
		appView = new UsuarioView(this);
	}

}
